
# Cypress Touchscreen driver configuration
#

config TOUCHSCREEN_CYPRESS_CYTTSP4
	tristate "CYPRESS touchscreen driver"
	depends on I2C

config TOUCHSCREEN_CYPRESS_CYTTSP4_DEVICETREE_SUPPORT
	bool "Enable Device Tree support"
	default n
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4 && OF
	help
	  This option enables support for device tree.

	  Say Y here to enable device tree support.

config TOUCHSCREEN_CYPRESS_CYTTSP4_DEBUG
	bool "Enable debug output"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4
	default n
	help
	  Enable Debug output for Cypress TrueTouch(tm)
	  Standard Product Generation4 drivers set.

	  Say Y here to enable debug output.

config TOUCHSCREEN_CYPRESS_CYTTSP4_VDEBUG
	bool "Enable verbose debug output"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_DEBUG
	default n
	help
	  Enable Verbose Debug output for Cypress TrueTouch(tm)
	  Standard Product Generation4 drivers set.

	  Say Y here to enable verbose debug output.

config TOUCHSCREEN_CYPRESS_CYTTSP4_I2C
	tristate "Cypress TrueTouch Gen4 I2C"
	#depends on TOUCHSCREEN_CYPRESS_CYTTSP4
	#select I2C
	default y
	help
	  Cypress TrueTouch(tm) Standard Product Generation4
	  I2C bus interface.

	  Say Y here to enable I2C bus interface to TTSP
	  touchscreen controller.

choice
	bool "Cypress TrueTouch Gen4 MultiTouch Protocol"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4
	default TOUCHSCREEN_CYPRESS_CYTTSP4_MT_B

config TOUCHSCREEN_CYPRESS_CYTTSP4_MT_A
	bool "Protocol A"
	help
	  Cypress TrueTouch(tm) Standard Product Generation4
	  MultiTouch Protocol A support.

	  Say Y here to enable MultiTouch touch reporting
	  using protocol A.

config TOUCHSCREEN_CYPRESS_CYTTSP4_MT_B
	bool "Protocol B"
	help
	  Cypress TrueTouch(tm) Standard Product Generation4
	  MultiTouch Protocol B support.

	  Say Y here to enable MultiTouch touch reporting
	  using protocol B.
endchoice

config TOUCHSCREEN_CYPRESS_CYTTSP4_BUTTON
	bool "Cypress TrueTouch Gen4 MultiTouch CapSense Button"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4
	default m
	help
	  Cypress TrueTouch(tm) Standard Product Generation4
	  CapSense driver.

	  Say Y here to enable CapSense reporting.

config TOUCHSCREEN_CYPRESS_CYTTSP4_DEVICE_ACCESS
	tristate "Cypress TrueTouch Gen4 MultiTouch Device Access"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4
	default m
	help
	  Cypress TrueTouch(tm) Standard Product Generation4
	  Device access module.

	  This modules adds an interface to access touchscreen
	  controller using driver sysfs nodes.

config TOUCHSCREEN_CYPRESS_CYTTSP4_DEVICE_ACCESS_API
	bool "Enable Device Access kernel API"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_DEVICE_ACCESS
	default n
	help
	  Say Y here to enable Device access kernel API.

config TOUCHSCREEN_CYPRESS_CYTTSP4_TEST_DEVICE_ACCESS_API
	tristate "Simple Test module for Device Access kernel API"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_DEVICE_ACCESS
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_DEVICE_ACCESS_API
	default n
	help
	  Say Y here to enable test module for Device access kernel API.

config TOUCHSCREEN_CYPRESS_CYTTSP4_LOADER
	tristate "Cypress TrueTouch Gen4 MultiTouch Loader"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4
	default m
	help
	  Cypress TrueTouch(tm) Standard Product Generation4
	  FW Loader module.

	  This module enables support for Firmware upgrade.

config TOUCHSCREEN_CYPRESS_CYTTSP4_PLATFORM_FW_UPGRADE
	bool "FW upgrade from header file"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_LOADER
	default n
	help
	  Include Cypress TrueTouch(tm) Standard Product
	  Generation4 device Firmware into driver.

	  Need proper header file for this.

config TOUCHSCREEN_CYPRESS_CYTTSP4_BINARY_FW_UPGRADE
	bool "FW upgrade from binary file"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_LOADER
	default n
	help
	  Include Cypress TrueTouch(tm) Standard Product
	  Generation4 device Firmware into kernel itself.

	  This should be enabled for manual FW upgrade.

config TOUCHSCREEN_CYPRESS_CYTTSP4_PLATFORM_TTCONFIG_UPGRADE
	bool "TT Configuration upgrade from header file"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_LOADER
	default n
	help
	  Include Cypress TrueTouch(tm) Standard Product
	  Generation4 device TrueTouch Configuration into
	  kernel itself.

	  Need proper header file for this.

config TOUCHSCREEN_CYPRESS_CYTTSP4_MANUAL_TTCONFIG_UPGRADE
	bool "TT Configuration upgrade via SysFs"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4_LOADER
	default n
	help
	  Provides a SysFs interface to upgrade TrueTouch
	  Configuration with a binary configuration file.

config TOUCHSCREEN_CYPRESS_CYTTSP4_DEBUG_MDL
	tristate "Cypress TrueTouch Gen4 MultiTouch Debug Module"
	depends on TOUCHSCREEN_CYPRESS_CYTTSP4
	default n
	help
	  Cypress TrueTouch(tm) Standard Product Generation4
	  Debug module.

	  This module adds support for verbose printing touch
	  information.

